﻿//#include <vld.h>
#include "mainwidget.h"
#include <QApplication>
#include <QTranslator>
#include <QDebug>

int main(int argc, char *argv[])
{

    QApplication a(argc, argv);
    //语言选择
    QTranslator translator;
    QLocale locale;
    translator.load(":/translate/"+locale.name());
    a.installTranslator(&translator);

    MainWidget w;
    w.show();
    return a.exec();
}
